package com.easylinkin.linkappapi.operatelog.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.easylinkin.linkappapi.operatelog.entity.CommonOperateLog;


/**
 * <p>
 *  操作日志服务类
 * </p>
 *
 * @author tongjie
 * @since 2021-02-07
 */
public interface CommonOperateLogService extends IService<CommonOperateLog> {

    boolean addLog(CommonOperateLog commonOperateLog);

    IPage<CommonOperateLog> getPage(Page page, CommonOperateLog customQueryParams);

    /**
     * 批量删除操作日志
     * @param commonOperateLog
     */
    void deleteBatch(CommonOperateLog commonOperateLog);
}
